import request from '@/utils/request'


export function queryStageTaskSubmitList(query) {
  return request({
    url: '/teaching/stage_task/list/submit',
    method: 'get',
    params: {
      taskId:query.taskId,
      classesId:query.classesId
    }
  })
}

// 查询阶段任务列表
export function listStage_task(query) {
  return request({
    url: '/teaching/stage_task/list',
    method: 'get',
    params: query
  })
}

// 查询阶段任务详细
export function getStage_task(taskId) {
  return request({
    url: '/teaching/stage_task/' + taskId,
    method: 'get'
  })
}

// 新增阶段任务
export function addStage_task(data) {
  return request({
    url: '/teaching/stage_task',
    method: 'post',
    data: data
  })
}

// 修改阶段任务
export function updateStage_task(data) {
  return request({
    url: '/teaching/stage_task',
    method: 'put',
    data: data
  })
}

// 删除阶段任务
export function delStage_task(taskId) {
  return request({
    url: '/teaching/stage_task/' + taskId,
    method: 'delete'
  })
}
